Optimal. Leaf size=121 \[ \frac {2}{3 \left (c d^2-a e^2\right ) (d+e x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}-\frac {8 c d \left (c d^2+a e^2+2 c d e x\right )}{3 \left (c d^2-a e^2\right )^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 121, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {672, 627}
\begin {gather*} \frac {2}{3 (d+e x) \left (c d^2-a e^2\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}-\frac {8 c d \left (a e^2+c d^2+2 c d e x\right )}{3 \left (c d^2-a e^2\right )^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 627
Rule 672
Rubi steps
\begin {align*} \int \frac {1}{(d+e x) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx &=\frac {2}{3 \left (c d^2-a e^2\right ) (d+e x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}+\frac {(4 c d) \int \frac {1}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx}{3 \left (c d^2-a e^2\right )}\\ &=\frac {2}{3 \left (c d^2-a e^2\right ) (d+e x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}-\frac {8 c d \left (c d^2+a e^2+2 c d e x\right )}{3 \left (c d^2-a e^2\right )^3 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 97, normalized size = 0.80 \begin {gather*} -\frac {2 (a e+c d x)^3 \left (-e^2+\frac {6 c d e (d+e x)}{a e+c d x}+\frac {3 c^2 d^2 (d+e x)^2}{(a e+c d x)^2}\right )}{3 \left (c d^2-a e^2\right )^3 ((a e+c d x) (d+e x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.86, size = 146, normalized size = 1.21
method | result | size |
gosper | \(-\frac {2 \left (c d x +a e \right ) \left (-8 e^{2} x^{2} c^{2} d^{2}-4 a c d \,e^{3} x -12 c^{2} d^{3} e x +a^{2} e^{4}-6 a c \,d^{2} e^{2}-3 c^{2} d^{4}\right )}{3 \left (e^{6} a^{3}-3 e^{4} d^{2} a^{2} c +3 d^{4} e^{2} c^{2} a -d^{6} c^{3}\right ) \left (c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e \right )^{\frac {3}{2}}}\) | \(138\) |
default | \(\frac {-\frac {2}{3 \left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right ) \sqrt {c d e \left (x +\frac {d}{e}\right )^{2}+\left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right )}}+\frac {8 c d e \left (2 c d e \left (x +\frac {d}{e}\right )+e^{2} a -c \,d^{2}\right )}{3 \left (e^{2} a -c \,d^{2}\right )^{3} \sqrt {c d e \left (x +\frac {d}{e}\right )^{2}+\left (e^{2} a -c \,d^{2}\right ) \left (x +\frac {d}{e}\right )}}}{e}\) | \(146\) |
trager | \(-\frac {2 \left (-8 e^{2} x^{2} c^{2} d^{2}-4 a c d \,e^{3} x -12 c^{2} d^{3} e x +a^{2} e^{4}-6 a c \,d^{2} e^{2}-3 c^{2} d^{4}\right ) \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}}{3 \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right ) \left (e x +d \right )^{2} \left (e^{2} a -c \,d^{2}\right ) \left (c d x +a e \right )}\) | \(146\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 308 vs.
\(2 (114) = 228\).
time = 6.95, size = 308, normalized size = 2.55 \begin {gather*} -\frac {2 \, {\left (12 \, c^{2} d^{3} x e + 3 \, c^{2} d^{4} + 4 \, a c d x e^{3} - a^{2} e^{4} + 2 \, {\left (4 \, c^{2} d^{2} x^{2} + 3 \, a c d^{2}\right )} e^{2}\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}}{3 \, {\left (c^{4} d^{9} x - a^{4} x^{2} e^{9} - {\left (a^{3} c d x^{3} + 2 \, a^{4} d x\right )} e^{8} + {\left (a^{3} c d^{2} x^{2} - a^{4} d^{2}\right )} e^{7} + {\left (3 \, a^{2} c^{2} d^{3} x^{3} + 5 \, a^{3} c d^{3} x\right )} e^{6} + 3 \, {\left (a^{2} c^{2} d^{4} x^{2} + a^{3} c d^{4}\right )} e^{5} - 3 \, {\left (a c^{3} d^{5} x^{3} + a^{2} c^{2} d^{5} x\right )} e^{4} - {\left (5 \, a c^{3} d^{6} x^{2} + 3 \, a^{2} c^{2} d^{6}\right )} e^{3} + {\left (c^{4} d^{7} x^{3} - a c^{3} d^{7} x\right )} e^{2} + {\left (2 \, c^{4} d^{8} x^{2} + a c^{3} d^{8}\right )} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (\left (d + e x\right ) \left (a e + c d x\right )\right )^{\frac {3}{2}} \left (d + e x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.02, size = 120, normalized size = 0.99 \begin {gather*} \frac {2\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}\,\left (-a^2\,e^4+6\,a\,c\,d^2\,e^2+4\,a\,c\,d\,e^3\,x+3\,c^2\,d^4+12\,c^2\,d^3\,e\,x+8\,c^2\,d^2\,e^2\,x^2\right )}{3\,\left (a\,e+c\,d\,x\right )\,{\left (a\,e^2-c\,d^2\right )}^3\,{\left (d+e\,x\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________